<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
      xmlns:jsf="http://xmlns.jcp.org/jsf">
    <h:head>
    </h:head>

    <h:body>
        <ui:composition template="/dataverse_template.xhtml">
            <ui:param name="pageTitle" value="#{bundle['dataverse.option.themeAndWidgets']} - #{themeWidgetFragment.editDv.name}"/>
            <ui:param name="dataverse" value="#{themeWidgetFragment.editDv}"/>  
           
            <ui:param name="showMessagePanel" value="#{true}"/>
            <ui:define name="metadata">
                <f:metadata>
                    <f:viewParam name="id" value="#{themeWidgetFragment.editDv.id}"/>
                    <f:viewAction action="#{themeWidgetFragment.initEditDv}"/>
                    <f:viewAction action="#{dataverseHeaderFragment.initBreadcrumbs(themeWidgetFragment.editDv, bundle['dataverse.option.themeAndWidgets'])}"/>
                </f:metadata>
            </ui:define>
            <ui:define name="body">
                <h:form id="themeWidgetsForm">
                    <ui:include src="themeAndWidgetsFragment.xhtml"/>
                </h:form>
            </ui:define>
        </ui:composition>
    </h:body>
</html>